﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;

namespace BLL
{
    public class TransactionCategoriesHandler
    {
        TransactionCategoriesDBAccess objTransactionCategories = new TransactionCategoriesDBAccess();

        public TransactionCategoriesHandler() 
        {
            objTransactionCategories = new TransactionCategoriesDBAccess();    
        }

        public List<TransactionCategories> GetTransactionCategoriesList(String CONNECTION_STRING)
        {
            return objTransactionCategories.GetTransactionCategoriesList(CONNECTION_STRING);
        }

        public DataTable GetTransactionCategoriesTable(String CONNECTION_STRING)
        {
            return objTransactionCategories.GetTransactionCategoriesTable(CONNECTION_STRING);
        }
    }
}
